package com.monkeybrother.responsibility;

/**
 * @Desc
 * @Author houruiyang
 * @Date 2021/8/9
 **/
public abstract class AbstractHandler {

    protected AbstractHandler next;


    public AbstractHandler setNext(AbstractHandler next) {
        this.next = next;
        return next;
    }

    public abstract int handler();

}
